package com.demo.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.demo.validator.AdminLoginValidate;
import com.demo.validator.LoginInterface;

@Retention(RetentionPolicy.RUNTIME)
@Target(value={java.lang.annotation.ElementType.METHOD,java.lang.annotation.ElementType.TYPE})
public @interface LoginFilter {
	Class<? extends LoginInterface> validateClz() default  AdminLoginValidate.class;
	String outpage() default "/manager/{sys}";
}
